/**
 * jims
 */
package com.jims.master.modules.operation.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.operation.dao.OperationNameAfterDao;
import com.jims.master.modules.operation.entity.OperationNameAfter;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 术后登记手术Service
 * @author ZhuQ
 * @version 2017-04-13
 */
@Service
@Transactional(readOnly = true)
public class OperationNameAfterService extends CrudService<OperationNameAfterDao, OperationNameAfter> {

	public OperationNameAfter get(String id) {
		return super.get(id);
	}
	
	public List<OperationNameAfter> findList(OperationNameAfter operationNameAfter) {
		return super.findList(operationNameAfter);
	}
	
	public Page<OperationNameAfter> findPage(Page<OperationNameAfter> page, OperationNameAfter operationNameAfter) {
		return super.findPage(page, operationNameAfter);
	}
	
	@Transactional(readOnly = false)
	public int save(OperationNameAfter operationNameAfter) {
		return super.save(operationNameAfter);
	}
	
	@Transactional(readOnly = false)
	public int delete(OperationNameAfter operationNameAfter) {
		return super.delete(operationNameAfter);
	}
	
}